module.exports = {
    entry: "./app.js",
    output: {
        //path: __dirname,
        path: require("path").join(__dirname, "dist/"),
        publicPath: "./dist/",
        filename: "bundle.js",
        chunkFilename: '[name]-[chunkhash]-chunk.js'
    },
    module: {
        loaders: [
           //{ test: /\.js$/, loader: 'jsx-loader?harmony'} 
           { test: /\.js$/, exclude: /node_modules/, loader: "babel-loader"}
        ]
    }
};


